package com.community.feign.contents.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 话题
 *
 * @author hjs hjs@qq.com
 * @since 1.0.0 2023-02-21
 */
@Data
@ApiModel(value = "话题")
public class DiscussDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "用户ID")
	private String userId;

	@ApiModelProperty(value = "用户名")
	private String userName;

	@ApiModelProperty(value = "标题")
	private String title;

	@ApiModelProperty(value = "帖子数量")
	private Integer postNum;

	@ApiModelProperty(value = "预览数量")
	private Integer seeNum;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;


}